<template>
    <div>
        ChildCom
        <p>{{ message }}</p>
        <GrandchildCom></GrandchildCom>
    </div>
    </template>
    <script>
import GrandchildCom from"./GrandChildCom.vue";
export default{
    components:{
        GrandchildCom
    },
    inject:["message"]
};
</script>